package com.qaml.mes.device.controller;


import com.earth.output.OutputMessage;
import com.qaml.mes.device.api.CheckUpkeepUserService;
import com.qaml.mes.device.vo.eqp.CheckUpkeepUserVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 检保关联人员表 前端控制器
 * </p>
 *
 * @author leikai
 * @since 2024-02-27
 */
@Api(tags = "检保关联人员")
@RestController
@RequestMapping("/checkUpkeepUser")
public class CheckUpkeepUserController {

    @Resource
    private CheckUpkeepUserService checkUpkeepUserService;

    @GetMapping("/getRecheckUserVOList")
    @ApiOperation(value = "获取所有审核人员信息(App)", notes = "获取所有审核人员信息")
    public OutputMessage<List<CheckUpkeepUserVO>> getRecheckUserList() {
        return OutputMessage.success(checkUpkeepUserService.getRecheckUserVOList());
    }
}
